abs Interface

public interface abs

Contents


Module Procedures

private pure elemental function quat_abs(q) result(rst)

Computes the magnitude of a quaternion.

Arguments

Type IntentOptional Attributes Name
type(quaternion), intent(in) :: q

The quaternion.

Return Value real(kind=real64)

The magnitude of the quaternion.